<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box2 {
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
        }

        .box2 p:first-child {
            align-self: flex-start;
            margin-left: 10px;
        }

        .box2 p:last-child {
            align-self: flex-end;
            margin-right: 10px;
        }
    </style>
</head>

<body>
    <div class="box">
        <div>
            <p></p>
        </div>
    </div>
    <div class="box1">
        <div>
            <p></p>
        </div>
        <div>
            <p></p>
        </div>
    </div>
    <div class="box2">
        <div>
            <p></p>
        </div>
        <div>
            <p></p>
        </div>
        <div>
            <p></p>
        </div>
    </div>
    <div class="box3">
        <div>
            <p></p>
            <p></p>
        </div>
        <div>
            <p></p>
            <p></p>
        </div>
    </div>
    <div class="box4">
        <div>
            <p></p>
            <p></p>
        </div>
        <div>
            <p></p>
        </div>
        <div>
            <p></p>
            <p></p>
        </div>
    </div>
    <div class="box5">
        <div>
            <p></p>
            <p></p>
            <p></p>
        </div>
        <div>
            <p></p>
            <p></p>
            <p></p>
        </div>
    </div>
</body>

</html>